package com.colin.springbootsource.domain;

import java.math.BigDecimal;

public class TbEmployee {
    private Integer employeeId;

    private String employeeName;

    private String employeeHiredate;

    private BigDecimal employeeSalary;

    private Integer departmentId;

    public Integer getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(Integer employeeId) {
        this.employeeId = employeeId;
    }

    public String getEmployeeName() {
        return employeeName;
    }

    public void setEmployeeName(String employeeName) {
        this.employeeName = employeeName == null ? null : employeeName.trim();
    }

    public String getEmployeeHiredate() {
        return employeeHiredate;
    }

    public void setEmployeeHiredate(String employeeHiredate) {
        this.employeeHiredate = employeeHiredate == null ? null : employeeHiredate.trim();
    }

    public BigDecimal getEmployeeSalary() {
        return employeeSalary;
    }

    public void setEmployeeSalary(BigDecimal employeeSalary) {
        this.employeeSalary = employeeSalary;
    }

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    @Override
    public String toString() {
        return "TbEmployee{" +
                "employeeId=" + employeeId +
                ", employeeName='" + employeeName + '\'' +
                ", employeeHiredate='" + employeeHiredate + '\'' +
                ", employeeSalary=" + employeeSalary +
                ", departmentId=" + departmentId +
                '}';
    }
}